/*
 * @Author: Starfish_DL
 * @Date: 2020-10-16 16:25:12
 * @LastEditors: Starfish_DL
 * @LastEditTime: 2020-10-16 16:28:39
 * @CurrentVersion: 1.0
 * @Description: 
 */
public class Test1
{
    /**
     * @author: Starfish_DL
     * @description: b没有声明为int变量，java不支持动态绑定
     * @param {type} 
     * @return {type} 
     */
    private static int a = 1;
    private static int b = 2;
    public static int AddOne(int m)
    {
        b = a + m;
        return b;
    }
    public static int AddTwo(int a, int b)
    {
        b += AddOne(a);
        return b;
    }
    public static void main(String[] args)
    {
        int b = AddTwo(3, 4);
        System.out.print(b);
    }
}
